/**
@file QwtBasicXYchart.h
@author Maciej Siczek
*/

#ifndef QWTBASICXYCHART_H
#define QWTBASICXYCHART_H

#include "../qwtPlotAdapter.h"
#include "../../../BasicXYchart/BasicXYchart.h"
#include <qwt/qwt.h>
#include <qwt/qwt_plot_curve.h>
#include "qwt/qwt_series_data.h"
#include "../../../../storage/Storage.h"
#include <QBrush>
#include <qwt/qwt_plot_grid.h>

namespace LightChart
{
    class QwtBasicXYchart : public qwtPlotAdapter
    {
    public:
	enum ChartType
	{
	    SCATTER_CHART,
	    LINE_CHART
	};

	QwtBasicXYchart(BasicXYchart& chart) : qwtPlotAdapter(chart) {}
	void preparePlot(QwtPlot* plot, ChartType chartType);
	void draw();
    };
}

#endif // QWTBASICXYCHART_H
